package com.haidechizi.util.lock.annotation;


import com.haidechizi.util.lock.configuration.DistributeLockConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用分布式锁
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(DistributeLockConfiguration.class)
public @interface EnableDistributeLock {
}
